<template>
    <a-result class="error-page" status="404" title="404" sub-title="对不起，您无权访问该数据页面">
        <template #extra>
            <a-button type="primary" @click="returnHome">
                返回首页
            </a-button>
        </template>
    </a-result>
</template>
<script>
export default {
    data() {
        return {};
    },
    computed: {
        homeRoute() {
            return this.$store.getters.homeRoute;
        }
    },
    methods: {
        returnHome() {
            this.$router.push({
                path: this.homeRoute
            });
        }
    }
};
</script>
